const mgs = require('mongoose')

const schema = new mgs.Schema({
    stuName: { type: String },
    stuNum: { type: String },
    jf: { type: Number },
    sex: { type: String },
    class: { type: mgs.SchemaTypes.ObjectId, ref: 'Class' },

})

module.exports = mgs.model('Student', schema)